﻿using System.ComponentModel;

namespace EcoSystem
{
    public enum FieldDataType
    {
        /// <summary>
        /// 字符串
        /// </summary>
        [Description("字符串")]
        String = 1,

        /// <summary>
        /// 数值
        /// </summary>
        [Description("数值")]
        Number = 2,

        /// <summary>
        /// 日期时间
        /// </summary>
        [Description("日期时间")]
        DateTime = 4,

        /// <summary>
        /// 布尔
        /// </summary>
        [Description("布尔")]
        Boolean = 8,

        /// <summary>
        /// 字符串数组
        /// </summary>
        [Description("字符串数组")]
        StringArray = 16,

        /// <summary>
        /// 数值型数组
        /// </summary>
        [Description("数值型数组")]
        NumberArray = 32,

        /// <summary>
        /// 日期时间数组
        /// </summary>
        [Description("日期时间数组")]
        DateTimeArray = 64,

        /// <summary>
        /// 布尔数组
        /// </summary>
        [Description("布尔数组")]
        BooleanArray = 128,

        /// <summary>
        /// 复杂数组
        /// </summary>
        [Description("复杂数组")]
        ObjectArray = 256,

        /// <summary>
        /// 复杂对象
        /// </summary>
        [Description("复杂对象")]
        Object = 512
    }
}
